package com.example.midprojcampusspringboot.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.example.midprojcampusspringboot.domain.entity.TManagerClass;
import com.example.midprojcampusspringboot.domain.entity.TTeacherClass;
import com.example.midprojcampusspringboot.domain.params.ClassAddStudentsParams;
import org.springframework.stereotype.Repository;

@Repository
public interface ClassMapper extends BaseMapper<TManagerClass> {

    /**
     * 4.为教学班级配置老师
     *
     **/
    boolean configTeacher(TTeacherClass tTeacherClass);

    /**
     * 3.添加学员或者添加学员列表
     *
     **/
    boolean addStudent(ClassAddStudentsParams params);

}
